Feature: Create Post

Scenarios

Chart

Status

Progress

4

Passed

100.0 %

Failed

0.0 %
Total duration:
1m 24.205s

Scenario: As an administrator when I create a draft post it should be visible from posts page

Given I log in as administrator 0m 5.231s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.333s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.233s
And I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.080s
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 2.111s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.246s
And I click on element having css selector "div.gh-contentfilter-type" 0m 2.089s
And I click on element having css selector "ul > li[data-option-index="1"]" 0m 2.153s
Then I should see text "(Untitled)" 0m 0.012s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
Then I should see text "(Untitled)"

Scenario: As an administrator when I create a draft post it should be visible from posts page

Given I log in as administrator 0m 5.207s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.336s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.255s
And I enter "Test Post Kraken Draft (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.277s
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 2.101s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.259s
And I click on element having css selector "div.gh-contentfilter-type" 0m 2.088s
And I click on element having css selector "ul > li[data-option-index="1"]" 0m 2.100s
Then I should see text "Test Post Kraken Draft (No Content)" 0m 0.012s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Draft (No Content)" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
Then I should see text "Test Post Kraken Draft (No Content)"

Scenario: As an administrator when I create a draft post it should be visible from posts page

Given I log in as administrator 0m 5.260s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.167s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.276s
And I enter "Test Post Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.178s
And I enter "Hello World Kraken" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 2.244s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.084s
And I click on element having css selector "div.gh-contentfilter-type" 0m 2.090s
And I click on element having css selector "ul > li[data-option-index="1"]" 0m 2.211s
Then I should see text "Test Post Kraken Draft" 0m 0.012s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Draft" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
Then I should see text "Test Post Kraken Draft"

Scenario: As an administrator when I create a draft post it should be visible from posts page

Given I log in as administrator 0m 5.396s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.156s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.276s
And I enter "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.695s
And I enter "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 3.721s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.102s
And I click on element having css selector "div.gh-contentfilter-type" 0m 2.089s
And I click on element having css selector "ul > li[data-option-index="1"]" 0m 2.112s
Then I should see text "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" 0m 0.012s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="1"]"
Then I should see text "Test Post Kraken Draft Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"